//
//  AboutUsViewController.m
//  LiTingFeng
//
//  Created by xinxuan on 16/3/18.
//  Copyright © 2016年 Bullgo. All rights reserved.
//

#import "AboutUsViewController.h"
#import "Declaration.h"

@interface AboutUsViewController ()
@property(nonatomic,strong)Declaration *declarationView;
@end

@implementation AboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.view addSubview:self.declarationView];
    self.navigationItem.title=@"关于我们";

    
    
}




#pragma mark  懒加载

-(Declaration *)declarationView{
    if (!_declarationView) {
        _declarationView=[[Declaration alloc]initWithFrame:self.view.frame];
    }
    return _declarationView;
}





-(void)viewWillAppear:(BOOL)animated{
    self.tabBarController.tabBar.hidden = YES;
}


-(void)viewWillDisappear:(BOOL)animated{
    self.tabBarController.tabBar.hidden = NO;
    
}



@end
